package com.company.netease2020;

import java.util.Arrays;
import java.util.HashSet;
import java.util.Scanner;
import java.util.Set;

public class Test202005 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        // 乘积
        int b = sc.nextInt();
        int[] arr = new int[n];
        for (int i = 0; i < n; i++) {
            arr[i] = sc.nextInt();
        }
        Arrays.sort(arr);

        Set<Integer> s = new HashSet<>();
        for(int a:arr){
            s.add(a);
        }


        for (int i = 0; i < n ; i++) {
            if(s.contains(b / arr[i])){

            }
        }
    }
}
